﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PSE.Deployment.TeamFoundation.Entity
{
    [Serializable]
    public class PackageIterationBranchVersion
    {
        public string Package { get; set; }
        public string Iteration { get; set; }

        public PackageIterationBranchVersion()
        {
            Package = string.Empty;
            Iteration = string.Empty;
        }

        public override string ToString()
        {
            if (!String.IsNullOrEmpty(Package) && !String.IsNullOrEmpty(Iteration))
                return "P" + Package.ToString() + "I" + Iteration.ToString();
            else
                return "";
        }
    }
}
